package com.power.test.controller;

import com.power.common.model.CommonResult;
import com.power.test.Teacher;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 老师信息操作
 */
@RestController
public class TeacherController {

  /**
   * 获取老师
   * @param teacher
   * @return
   */
  @PostMapping(value = "teacher")
  public CommonResult<Teacher> getTeacher(@RequestBody Teacher teacher){
    return CommonResult.ok();
  }
}
